/*
 * Exploder
 * 
 * Tero Pyylampi (218437), Jussi Tuurinkoski (211594)
 *
 * Simple particle system effects used in the game 
 */

#ifndef GAMEEFFECTS_H
#define GAMEEFFECTS_H

#include "cocos2d.h"

namespace GameEffects {

	// small explosion
	cocos2d::CCParticleSystem *createSmallExplosion( float x, float y );

	// medium explosion
	cocos2d::CCParticleSystem *createMediumExplosion( float x, float y );

	// breaking effect when something breaks
	cocos2d::CCParticleSystem *createBreakingParticles( float x, float y, char *texture, unsigned int amountOfParticles );

	// something dismissing or appearing
	cocos2d::CCParticleSystem *createSmokeEffect( float x, float y );

	// create a smoke effect for the background layers
	cocos2d::CCParticleSystem *createBackroundSmokeEffect( float x, float y, float wind );

	// fire effect for the medium bomb sprite
	cocos2d::CCParticleSystem *createFireEffect();
};

#endif
